package com.motong.gongdan.vo.system.otherVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("导入产品以及其他模块自定义数据返回整合数据 成功数据")
public class GetByImportCodeDataVo {

    @ApiModelProperty("id值，编辑删除时必传")
    private Integer id;

    @ApiModelProperty("产品编码")
    private String code;

    @ApiModelProperty("产品名称")
    private String name;

    @ApiModelProperty("单位id")
    private Integer unitId;

    @ApiModelProperty("规格")
    private String specification;

    @ApiModelProperty("工艺路线id")
    private Integer processRouteId;

    @ApiModelProperty("库存数量")
    private BigDecimal stock;

    @ApiModelProperty("删除状态 0/1 正常/删除")
    private String processRouteName;

    @ApiModelProperty("单位名称")
    private String unitName;

    @ApiModelProperty("最小值")
    private BigDecimal minimum;

    @ApiModelProperty("最大值")
    private BigDecimal maximum;

    @ApiModelProperty("警戒数量")
    private BigDecimal safe;

    @ApiModelProperty("现存量")
    private BigDecimal nowNum;

    @ApiModelProperty("attribute")
    private Integer attribute;

    @ApiModelProperty("操作数量")
    private BigDecimal handleNum;

    @ApiModelProperty("工单计划量(销售导入时使用)")
    private BigDecimal planedNumber;

    @ApiModelProperty("工单开始时间 (销售导入时使用)")
    private String startTime;

    @ApiModelProperty("工单结束时间时间 (销售导入时使用)")
    private String endTime;

    @ApiModelProperty("自定义字段相关信息")
    private List<CustomFieldVo> customFieldVos;



}
